package com.itheima.c04_模拟简历信息;

public class Teacher extends Person
     {
         public Teacher(String name, int age, String address) {
             super(name, age, address);
         }


         @Override
         public void info() {
             System.out.println(this);
         }

         @Override
         public void write() {
             info();
             System.out.println("工作经历：10年教学经验");
         }
     }
